Woocommerce\Pagarme\Concrete\WoocommercePlatformOrderDecorator D

Total Complexity 171
Dependencies 36
Dependents 2
Total lines 1,220
Lines of code 787
Logical lines of code 452
Comment lines 89
Methods 78
Properties 7

Methods 78

Method Rating Maintainability Complexity Lines of code
extractPaymentDataFromTwoCreditCards()
A
44 10 44
extractPaymentDataFromBilletCreditcard()
A
42 9 56
getPaymentHandler()
A
53 9 26
extractMultibuyerData()
S
47 5 36
extractPaymentDataFromVoucher()
S
49 5 30
fieldNotSet()
S
59 6 15
getItemCollection()
S
50 5 28
extractBasePaymentData()
S
50 5 28
getRegisteredCustomer()
S
45 3 41
getCustomer()
S
58 4 17
extractPaymentDataFromPix()
S
57 4 17
extractPaymentDataFromBillet()
S
57 4 16
setStatusAfterLog()
S
58 4 15
getPaymentMethodCollection()
S
53 3 23
extractPaymentDataFromCreditCard()
S
56 3 19
validateAddressFields()
S
56 3 19
extractPaymentDataFromGooglepay()
S
57 3 17
isBilletAndCreditCardPayment()
S
69 4 6
validateSellerArray()
S
63 4 10
formatPaymentMethod()
S
62 3 12
getPagarmeId()
S
64 3 11
getAddress()
S
57 2 17
getState()
S
57 2 17
getGuestCustomer()
S
50 1 30
handleSplitOrder()
S
59 2 14
getShipping()
S
58 1 16
isBilletPayment()
S
68 2 7
isTwoCreditCardPayment()
S
70 2 6
getTotalPaid()
S
75 2 4
isCreditCardPayment()
S
68 2 7
isPixPayment()
S
68 2 7
isVoucherPayment()
S
68 2 7
isGooglepayPayment()
S
68 2 7
getTotalDue()
S
75 2 4
extractPaymentDataFromPagarmeVoucher()
S
67 2 8
extractPaymentDataFromPagarmeDebit()
S
67 2 8
getCoreStatusFromWoocommerceStatus()
S
67 2 8
getWoocommerceStatusFromCoreStatus()
S
67 2 8
getQuote()
S
82 1 3
getRecurrenceService()
S
81 1 3
setRecurrenceInfo()
S
82 1 3
getTotalCanceled()
S
81 1 3
setCustomer()
S
81 1 3
__construct()
S
69 1 7
getPaymentCollection()
S
82 1 3
getBaseTaxAmount()
S
81 1 3
save()
S
82 1 3
setStateAfterLog()
S
82 1 3
getStatus()
S
73 1 5
loadByIncrementId()
S
76 1 4
sendEmail()
S
82 1 3
getStatusLabel()
S
80 1 3
addMPHistoryComment()
S
81 1 3
setAdditionalInformation()
S
82 1 3
extractAdditionalChargeInformation()
S
82 1 3
addAdditionalInformation()
S
82 1 3
setIsCustomerNotified()
S
91 1 2
canInvoice()
S
82 1 3
getIncrementId()
S
81 1 3
getGrandTotal()
S
81 1 3
setTotalPaid()
S
82 1 3
getTransactionCollection()
S
82 1 3
getCode()
S
81 1 3
getData()
S
81 1 3
getInvoiceCollection()
S
82 1 3
getPaymentMethodPlatform()
S
82 1 3
isCanceled()
S
80 1 3
isPaymentReview()
S
82 1 3
canUnhold()
S
82 1 3
setBaseTotalRefunded()
S
82 1 3
setBaseTotalPaid()
S
82 1 3
setTotalRefunded()
S
82 1 3
getTotalRefunded()
S
81 1 3
setBaseTotalCanceled()
S
82 1 3
setTotalCanceled()
S
82 1 3
setBaseTotalDue()
S
82 1 3
setTotalDue()
S
82 1 3
getHistoryCommentCollection()
S
81 1 3